projects
/
trafficserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a27708
)
Use -mcx16 on x86 platforms only
author
Aron Xu
<aron@debian.org>
Tue, 2 Feb 2016 04:17:24 +0000
(12:17 +0800)
committer
Jean Baptiste Favre
<debian@jbfavre.org>
Sat, 23 Jul 2016 17:15:58 +0000
(17:15 +0000)
Gbp-Pq: Name 0001-Use-mcx16-on-x86-platforms-only.patch
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 260e0e5d846d13fc0910a35ed7bb7c4d5f9b6f54..6486b2ab372dbfc379d4f51a89a0000369ccba0b 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-1348,10
+1348,13
@@
CFLAGS="${__saved_CFLAGS}"
AC_LANG_POP
AC_SUBST(has_128bit_cas)
+case "$host_cpu" in
+ amd64|x86_64|i*86)
AS_IF([test "x$has_128bit_cas" = "x1"], [
TS_ADDTO(CFLAGS, [-mcx16])
TS_ADDTO(CXXFLAGS, [-mcx16])
])
+esac
# Check for POSIX capabilities library.
# If we don't find it, disable checking for header.